package day03_0623;

public class Test9 {
    public static void main(String[] args) {

        //买彩票每张彩票7元，最多买多少张彩票
        double money = 100000;
        int ticketCount = 0;
        while(money>=7){
            money= money-7;
            ticketCount++;
        }
        System.out.println(ticketCount);

    }
}
